<?php
header('Content-type:text/html;charset=utf8');
/**
 * xysc users Version1.0
 * ==================================
 * Copy 2016-2017
 * Web:www.xjh7.com
 * ==================================
 * Author:xjh
 * Date:2016-3-1
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="stylesheet"  href="<?php echo backweb_CSS_URL;?>index.css" />
<style>

</style>
</head>
<body>
		<div class="place" >
		<span>位置：</span>
			<ul class="placeul">
				<li><a href="#">首页</a></li>
				<li><a href="./index.php?r=backweb/brand/brandTop">品牌列表</a></li>
				<li><a href="#">新增品牌</a></li>
			</ul>
		</div>
		<table class="list_table mt10">
		<form action="./index.php?r=backweb/brand/addbrand"  method="post">
			<tr>
				 <td class="td_center wh100">品牌名称：</td>
				 <td>
				     <input type="text" name="brand_name"  class="input-text" />
				 </td>		
			  </tr>
			  <tr>
				 <td class="td_center wh100">品牌网址：</td>
				 <td>
					 <input type="text"  name="brand_url"  value="http://"  class="input-text" />
				 </td>		
			  </tr>
			  <tr>
				 <td class="td_center wh100">品牌简介：</td>
				 <td>
				     <textarea name="brand_info" class="input-text wh500"  cols="25" rows="3" ><?php echo $_v['category_info']?></textarea>
				 </td>		
			  </tr>	
			  	<tr>
				 <td class="td_center wh100">排序：</td>
				 <td>
					 <input type="text"  name="brand_sort"  value="0"  class="text sort" style="border:1px solid #ccc;width:40px;"/>
				 </td>		
			  </tr>
			  <tr>
			  			<td class="td_center wh100">分类：</td>　　
			  			<td>
	  						<select name="category_id" class="select" >
								<?php foreach($category as $_v){ ?>
								<option value="<?php echo $_v['category_id'];?>" ><?php echo $_v['category_name'];?></option>
								<?php }?>
							</select>
						</td>
				</tr>
				<tr>
					<td class="td_center wh100">是否可用：</td>
					<td> <input type="radio" name="active" value="1"  checked="checked"  />是
					         <input type="radio" name="active" value="0" />否
					</td>
				</tr>
				
				<tr>
				  <td class="td_center">
				    <input type="submit" name="send" id="btsave" value="添加" class="btn btn82 btn_save ml25" />				
				 </td>
				 <td>
				   <input type="reset" value="重置" class="btn btn82 btn_res ml10" />
				</td>
			 </tr>
		</form>
			</table>
			
</body>
</html>